![]() |
Eject |
||||
Header: | Files.h | Carbon status: | Supported | |
Places a volume offline and ejects it.
OSErr Eject ( ConstStr63Param volName, SInt16 vRefNum );
The name of a volume.
A volume reference number, a working directory reference number, a drive number, or 0 for the default volume.
A result code.
The Eject function flushes the specified volume, places it offline, and then ejects the volume.
Most applications do not need to use this function, because the user typically ejects (and possibly also unmounts) a volume in the Finder.
Supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)